package my.example;

import org.springframework.web.bind.annotation.Mapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/** 
 * 测试模块B
 */
@RequestMapping("/testb")
@Api
public interface ZlTestControllerApi {
    
    /**
     * 方法详细描述信息
     * 
     * @title 测试方法1
     * @return 方法返回描述。
     * @throws Exception
     */
    @PostMapping("/test1")
    public ResDTO<ResPageDTO<ResCfgGenerateDetailDTO2>> test1(@RequestBody ReqDTO<ReqPageDTO<ReqCfgGenerateDetailDTO>> reqInfo) throws Exception;
    
    @RequestMapping(value={"/test2","/test22","/test23"}, method={RequestMethod.POST,RequestMethod.GET,RequestMethod.DELETE})
    public ResDTO<ResPageDTO<ResCfgGenerateDetailDTO2>> test2(String orderId,String flag)throws Exception;
    
    @PostMapping("/test3")
    @ApiOperation(value="swagger方法测试")
    public ResDTO<String> test3(@RequestBody ReqSwaggerDTO req)throws Exception;
    
    @PostMapping("/test4")
    @ApiOperation(value="有继承对象")
    public ResDTO<String> test4(@RequestBody ReqCfgGenerateDetailDTO3 req)throws Exception;
}
